package com.fottas.adware.common.emun;

public enum PayTypeEnum {
    ALI(1, "AliPayAction"),
    WX(2, "WxPayAction"),
    ;
    private Integer type;
    private String payActionImpl;

    PayTypeEnum(Integer i, String wxPayAction) {

    }

    public Integer getType() {
        return type;
    }

    public String getPayActionImpl() {
        return payActionImpl;
    }

    public static PayTypeEnum getPayActionByType(Integer type) {
        for (PayTypeEnum enums : PayTypeEnum.values()) {
            if (enums.getType() == type) {
                return enums;
            }
        }
        return null;
    }

}
